package com.quan.mall.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.baomidou.mybatisplus.annotation.IdType;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import javax.validation.constraints.NotNull;
import com.quan.commons.core.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商城-公司收发货地址表
 *
 * @author yhaoquan
 * @email yhaoquan@163.com
 * @date 2021-03-26 13:03:25
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_delivery_address")
public class MallDeliveryAddress extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
    private Long id;

	/**
	 * 地址名称
	 */
    private String addressName;

	/**
	 * 默认地址：0->否；1->是
	 */
    private Boolean isDefault;

	/**
	 * 地址类型：1->发货地址，2->收货地址
	 */
    private Integer type;

	/**
	 * 收发货人姓名
	 */
    private String name;

	/**
	 * 收货人电话
	 */
    private String phone;

	/**
	 * 省/直辖市
	 */
    private String province;

	/**
	 * 市
	 */
    private String city;

	/**
	 * 区
	 */
    private String region;

	/**
	 * 详细地址
	 */
    private String detailAddress;


}
